package com.mew.common.rest.events;

import com.zebra.common.ZebraBaseMessage;
import io.netty.buffer.ByteBuf;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @Author King.Song
 * @Date 2021/1/25 0025
 **/
@Data
@ToString
@NoArgsConstructor
public class SginRepairRequestMessage extends ZebraBaseMessage<SginRepairRequestMessage> {
    private int dayNum; // 补签第几天， 如果是补签按钮 则传0

    @Override
    public void write(ByteBuf byteBuf) {

    }

    @Override
    public SginRepairRequestMessage read(ByteBuf byteBuf) {
        SginRepairRequestMessage message = new SginRepairRequestMessage();
        message.setDayNum(readInt(byteBuf));
        return message;
    }
}
